package com.taotao.mapper;

import com.taotao.pojo.Content;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * describe:
 *
 * @author hong.zheng
 * @date 2018/09/16
 */
public interface ContentMapper {

    List<Content> getContentList(long catId);

    Content selectContent(long id);

    void insertContent(Content content);

    void updateContent(Content content);

    void deleteContent(@Param("ids") long []ids);
}
